import Layout from '@/layout'

//订单管理
// 修改：订单管理
const orderRouter = {  
  path: '/order',
  component: Layout,
  redirect: 'noRedirect',
  name: 'Order',
  alwaysShow: true,
  meta: {
    title: '订单管理',
    icon: "s-claim"
  },
  children: [
    {
        path: 'index',
        component: () => import('@/views/order/index'),
        name: 'OrderIndex',
        meta: { title: '订单列表' }
    },
    {
      path: 'waitpackage',
      component: () => import('@/views/order/waitpackage'),
      name: 'WaitPackage',
      meta: { title:'待揽件' }
    },
    {
      path: 'receipt',
      name: 'ReceiptList',
      //redirect: 'noRedirect',
      component: () => import('@/views/order/receipt'),
      meta: { title: '回单管理' },
    },
  ]
}

export default orderRouter
